class Promotion {
  int? userId;
  String? name;
  String? bindPhone;
  String? createAt;
  String? portrait;

  Promotion({this.userId, this.portrait, this.name, this.bindPhone, this.createAt});

  Promotion.fromJson(Map<String, dynamic>? json) {
    json ??= {};
    userId = json['userId'];
    name = json['name'];
    bindPhone = json['bindPhone'];
    createAt = json['createAt'];
    portrait = json['portrait'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = {};
    data['userId'] = userId;
    data['name'] = name;
    data['bindPhone'] = bindPhone;
    data['createAt'] = createAt;
    data['portrait'] = portrait;
    return data;
  }
}
